// less是一个预处理器 定义变量（颜色），方法，
// 引入less文件包
@import "./common.less";
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica,
  "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
}

a {
  text-decoration: none;
}
ul {
  list-style: none;
}
html {
  height: 100%;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
  font-size: 20px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
  position: relative;
  height: 100%;
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "微软雅黑", Arial, sans-serif;
  // 浏览器默认额字体是16px === 1rem 23px === ?
  font-size: 20px;
  line-height: 1.42857143;
  color: @c33;
  background-color: @cff;
}
.application-container {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  // 与父级样式是同级的
  &.no-header {
    > header {
      display: block;
      position: relative;
      height: 48px;
      padding: 8px 0;
      background-color: @primary;
      .clear();
      .right,
      .left {
        float: left;
        position: relative;
        height: 32px;
        z-index: 10;
      }
      .right {
        float: right;
      }
      .center {
        display: block;
        text-align: center;
        position: absolute;
        top: 0;
        left: 0;
        color: @fff;
        width: 100%;
        font-weight: 300;
        font-size: 1rem;
        z-index: 1;
        line-height: 48px;
      }
      i {
        float: left;
        width: 36px;
        height: 32px;
        background: url(../image/page/31shouye.png) center center / 32px 32px
          no-repeat;
        &.back {
          background-image: url(../image/page/xitongfanhui.png);
        }
        &.add {
          background-image: url(../image/page/tianjia.png);
        }
      }
    }
    > main {
      display: block;
      position: relative;
      width: 100%;
      height: calc(100% - 48px);
      overflow-x: hidden;
      border: 1px;
      // 解除塌陷问题
      // &::before {
      //   content: "";
      //   display: block;
      //   width: 0;
      //   height: 1px;
      // }
    }
  }
}

.purchase-dropdown {
  flex: 0 0 80px;
  border-right: solid 1px #ddd;
  border-left: solid 1px #ddd;
  .van-dropdown-menu__bar {
      height: 32px;
      background-color: transparent;
      box-shadow: none;
  }
}

.ul-box{
  display: block;
  position: relative;
  height: 100%;
  overflow-x: hidden;
  >.box {
    position: relative;
    width: 95%;
    margin: auto;
    padding: 6px 12px;
    background-color: transparent;
    border-bottom: 2px solid @cdd;
    .role{
      display: block;
      font-size: 0.7rem;
      color: @cdc;
      line-height: 28px;
      &.title {
        font-size: 1rem;
        color: @c99;
        line-height: 32px;
        font-weight: 500;
       
      }
    }
  }
}
.van-button{
  height: 100%;
}